package com.lvmama.service.rhino.order.impl;

import com.lvmama.dao.rhino.order.OrderDao;
import com.lvmama.pojo.entity.rhino.order.OrderInfo;
import com.lvmama.service.rhino.order.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("orderService")
public class OrderServiceImpl implements OrderService {

	@Autowired
	private OrderDao orderDao;

	@Override
	public List<OrderInfo> getListByDate(OrderInfo order) {
		return orderDao.queryOrderListByDate(order);
	}

	@Override
	public List<OrderInfo> getListByCategory(OrderInfo order) {
		return orderDao.queryOrderListByCategory(order);
	}

	@Override
	public List<OrderInfo> getListByPerform(OrderInfo order) {
		return orderDao.queryOrderListByPerform(order);
	}

	
}
